Add grammar for vba 7.1#4906
Merged
Merged
Conversation
Add README for Visual Basic 7.1 grammar details and usage.
* Update fmt.Println message from 'Hello' to 'Goodbye' * Rename README.md to README.md * Rename vbaParser.g4 to vbaParser.g4 * Create vbaLexer.g4 * Create pom.xml * Create desc.xml * Add SQLSelect class for SQL query handling * Rename vba/vba7_1/SQLSelect.cls to vba/vba7_1/examples/SQLSelect.cls * Create SQLHelperFunctions.bas * Create Form1.frm * Add test_class_declarations.cls for class declarations * Add test_control_structures.bas with control structures * Create test_function.bas * Create test_function_names.bas * Add test_line_continuation.bas for line continuation example * Create TestLiterals module for testing literals Add a new module to test various literal formats in VBA. * Create test_statements.bas * Create test_sub.bas * Create test_variables.bas
Member
|
@Beakerboy thanks! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The vba 7.1 grammar has an official specification from Microsoft. This lexer and parser follows that specification as close as possible. The existing vba6 grammar is widely used, but differs so much that changing it to match the specification would introduce breaking changes.